package chongxin;
//继承
public class Dog  extends Pet{
    public Dog(){
        super("dhsudsfgs");
    }
    //重写
    @Override
    public void print() {
        System.out.println("ddddd");
    }
}


